#!/usr/bin/perl

use 5.010;
use utf8;
use strict;
use autodie;

print reverse <>;